package org.osoftware.mumi.dao.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * The Class PaymentType.
 */
@Entity
@Table(name="payment_type")
public class PaymentType extends BaseObject {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 5886402058509203364L;
	
	/** The name. */
	@Column(name="name")
	private String name;
	
	/** The description. */
	@Column(name="description")
	private String description;
	
	/**
	 * Gets the name.
	 *
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * Sets the name.
	 *
	 * @param name the new name
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * Gets the description.
	 *
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	
	/**
	 * Sets the description.
	 *
	 * @param description the new description
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return "PaymentType [name=" + name + ", description=" + description
				+ ", toString()=" + super.toString() + "]";
	}
	
	
}
